import java.io.*;

public class Test {
    public static void main2(String[] args) throws IOException {
        BufferedReader re = new BufferedReader(new InputStreamReader((System.in)));
        String x = re.readLine();
        System.out.println(x);
    }
    public static void main(String[] args) throws IOException {
        StreamTokenizer st = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
        st.nextToken();
        String str = st.sval;//读取String类型数据
        st.nextToken();
        double num1 = st.nval;//读取double类型数据
        st.nextToken();
        int num2 = (int) st.nval;//读取int类型数据
        st.nextToken();
        long num3 = (long) st.nval;//读取long类型数据
        PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));
        pw.print(str);//不换行输出
        pw.println(str);//换行输出
        pw.printf("%d", num2);//格式化输出
        pw.flush();//关闭输出流
    }
}
